package com.koron.standard.rating.bean.po;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 评级标准从表(RatingItem)表实体类
 *
 * @author jzp
 * @since 2022-01-04
 */
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("c_rating_item")
@ApiModel(value = "评级标准从表", description = "RatingItem")
public class RatingItem {

    /**
     * ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty("ID")
    private String id;

    /**
     * 标准ID
     */
    @ApiModelProperty("标准ID")
    private String ratingId;

    /**
     * 标准类别
     */
    @ApiModelProperty("标准类别，一二三四类，数据字典：standard_rating_type")
    private String name;

    /**
     * 标准内容
     */
    @ApiModelProperty("标准内容")
    private String content;

    /**
     * 排序
     */
    @TableField(value = "`sort`")
    @ApiModelProperty("排序")
    private Integer sort;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("创建时间")
    private Date createTime;

}

